package org.dxy.api.dto;

import lombok.Data;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.NotBlank;

/**
 * @description: 工序挂起请求DTO
 * @author: dxy
 * @createTime: 2025/6/22 23:47
 */
@Data
public class HoldProcessRequestDto {
    /**
     * 工序ID
     */
    @NotNull(message = "工序ID不能为空")
    private Long processId;

    /**
     * 挂起原因
     */
    @NotBlank(message = "挂起原因不能为空")
    private String reason;

    /**
     * 操作人ID
     */
    @NotBlank(message = "操作人ID不能为空")
    private String operatorId;
} 